package com.chandon.T00_basic.filter;

import com.chandon.common.Cv;

import java.util.ArrayList;
import java.util.List;

/**
 * 描述
 *
 * @author Dong
 * @version 1.0
 * @date 2021-04-12 20:15
 */

public class ScopeFilter implements CvFilter {

    @Override
    public List<Cv> filt(List<Cv> cvList) {

        ArrayList<Cv> cvs = new ArrayList<>();
        for (Cv cv : cvList) {
            if (cv.getScope() >= 9) {
                cvs.add(cv);
            }
        }
        return cvs;
    }
}
